package com.ruoyi.web.controller.system.Fdongbei.zidonghuayan;

import com.ruoyi.common.annotation.Anonymous;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.Fdongbei.domain.dto.ZidonghuaYanDto;
import com.ruoyi.system.Fdongbei.service.impl.huayan.IZidonghuayanService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/system/Fdongbei/zidonghuayan/ZiDongHuaYan")
public class ZiDongHuaYan {


    @Resource
    IZidonghuayanService iTbZidongHuayanService;

    @Anonymous
    @PostMapping("/UploadDetectionResults")
    public AjaxResult UploadDetectionResults(@RequestBody  ZidonghuaYanDto zidonghuaYanDto) {
        iTbZidongHuayanService.UploadDetectionResults(zidonghuaYanDto);
        return AjaxResult.success();

    }

}
